import request from '@/utils/request'

export const bookAPI = {
    getBookList() {
        return request.get('/user/book/list')
    },
    getBookDetail(id: number) {
        return request.get(`/user/book/detail/${id}`)
    }
}